package test.study.kits.excel.demo.demo2;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.util.Date;

@Data
public class TeamInfoData {

    @ExcelProperty(index = 0)
    private String leaderMobile;
    @ExcelProperty(index = 1)
    private String leaderName;
    @ExcelProperty(index = 2)
    private String teamStatus;
    @ExcelProperty(index = 3)
    private String leaderGrade;
    //4
    @ExcelProperty(index = 5)
    private String teamName;
    @ExcelProperty(index = 6)
    private String parentTeamName;
    @ExcelProperty(index = 7)
    private String teamType;
    //8
    //9
    //10
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(index = 11)
    private Date teamCreateTime;
}
